cmake_minimum_required(VERSION 2.8)

PROJECT( ./bin/dd_evaluator )

FIND_PACKAGE( OpenCV REQUIRED )

IF(WIN32)
SET(_boost_LIBRARIES_SEARCH_DIRS
     C:/boost/lib
     C:/boost
	)

	FIND_PACKAGE( Boost REQUIRED )

ELSE()
	FIND_PACKAGE(Boost COMPONENTS system filesystem REQUIRED)
ENDIF()

ADD_EXECUTABLE( ${PROJECT_NAME} 
	./src/dd_evaluator.cpp 			./src/dd_evaluator.hpp

	./src/eccblock/eccBlock/eccBlock.cpp	./src/eccblock/eccBlock/eccBlock.h 

	
	
	./src/general_resources.h
	./src/opencv_resources.h

	./src/camera.cpp			./src/camera.h
	./src/features.cpp			./src/features.h
	./src/improc.cpp			./src/improc.hpp
	./src/tools.cpp				./src/tools.hpp
	./src/evaluation.cpp		./src/evaluation.hpp
)	

TARGET_LINK_LIBRARIES( 
	${PROJECT_NAME} 
	${OpenCV_LIBS} 
	${Boost_FILESYSTEM_LIBRARY}
	${Boost_SYSTEM_LIBRARY}
)
